package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
* Created by Mybatis Generator 2023/07/17
*/
@Data
@TableName(value = "interview_invitation")
public class InterviewInvitation implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "recruitment_post_id")
    private Integer recruitmentPostId;

    @TableField(value = "userinfo_id")
    private Integer userinfoId;
    @TableField(value ="userinfo",exist = false )
    private Userinfo userinfo;

    /**
     * 发送邀请时间
     */
    @TableField(value = "sending_time")
    private Date sendingTime;
    @TableField(value = "recruitment_post",exist = false)
    private RecruitmentPost recruitmentPost;

    /**
     * 预约面试的时间
     */
    @TableField(value = "interview_time")
    private Date interviewTime;

    /**
     * 同意面试邀请
     */
    @TableField(value = "agree")
    private Boolean agree;

    /**
     * 已结束的面试
     */
    @TableField(value = "end_interview")
    private Boolean endInterview;

    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_RECRUITMENT_POST_ID = "recruitment_post_id";

    public static final String COL_USERINFO_ID = "userinfo_id";

    public static final String COL_SENDING_TIME = "sending_time";

    public static final String COL_INTERVIEW_TIME = "interview_time";

    public static final String COL_AGREE = "agree";

    public static final String COL_END_INTERVIEW = "end_interview";

    public static final String COL_ENABLE = "enable";
}